package com.desire.bean.purchase;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @author LittleDesire
 * @description
 * @date 2022-05-18 周三 12:06
 * @since 17
 */

@Data
public class Provider {
    String id;
    @NotBlank(message = "供应商名称不能为空")
    String name;
    String code;
    String categoryCode;
    String categoryName;
    String level;
    String province;
    String city;
    String address;
    String industry;
    @NotBlank(message = "联系人不能为空")
    String contact;
    @NotBlank(message = "办公电话不能为空")
    String tel;
    @Pattern(regexp = "^1[345678]\\d{9}$", message = "请输入合法的手机号")
    String mobile;
    String email;
    String boss;
    int registeredCapital;
    int staffsize;
    String content;
    String taxpayerId;
    double rate;
    String bank;
    String bankname;
    String bankAccount;
    @NotBlank(message = "所属企业用户不能为空")
    String euid;
    String createUser;
}
